<template>
  <div id="app">
    <c-header></c-header>
    <!--// 缓存组件跳转的页面-->
    <keep-alive>
      　　<router-view v-if="$route.meta.keepAlive" class="ui-view"  transition-mode="out-in"></router-view>
    </keep-alive>
    <!--// 非缓存组件跳转页面-->
    <router-view v-if="!$route.meta.keepAlive" class="ui-view"  transition-mode="out-in"></router-view>
  </div>
</template>

<script>
  import CHeader from './components/Header'
  /* import { handleLocalStorage } from '../base/baseApi'
  import { basePost } from '../base/request' */
  export default {
    components: {
      CHeader
    },
    mounted () {
    }
  }
</script>

<style lang="less">
  @import '~vux/src/styles/reset.less';
  @import '../static/base.css';

  body {
    background: #EBEFF2;
    font-size: 12px;
  }

</style>
